﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel.Syndication;
using System.Text;
using System.Threading.Tasks;

namespace RSSReader.Dto
{
    [DataContract]
    [KnownType(typeof(ObservableSyndicationItemDto))]
    public class ObservableSyndicationFeedDto
    {
        [DataMember]
        public Uri BaseUri { get; set; }
        [DataMember]
        public Dictionary<string, ObservableSyndicationItemDto> ItemsDictionary { get; set; }
        [DataMember]
        public List<ObservableSyndicationItemDto> Items { get; set; }
        [DataMember]
        public DateTimeOffset LastUpdatedTime { get; set; }
        [DataMember]
        public string Title { get; set; }
    }
}
